﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="tonghop_nghiphep.aspx.cs" Inherits="manager_detail_nghiphep" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajaxtoolkit" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Nghi phep chi tiet</title>
    
     <link href="../styles/style.css" rel="stylesheet" type="text/css" /> 
     <link type="text/css" href="../css/smoothness/jquery-ui-1.8.11.custom.css" rel="stylesheet" />
    <script src="../js/jquery-1.5.min.js" type="text/javascript"></script>
    <script src="../js/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
    <script src="../js/jquery.validationEngine.js" type="text/javascript"></script>
</head>
<body>
       <form id="form1" runat="server">

    <div class="wrapper">
         <div id="header">
		<h1 class="logo">
        <a href="index.aspx">
        	<img src="../images/logo.png" width="280" height="46" border="0" /></a>
        
        </h1>
         <div class="login_zone" >
                Username:<asp:Literal ID="lUsername" Text="" runat="server" />
                <br />
                 <asp:LinkButton ID="lnkLogout" runat="server" Text="Logout" 
                    onclick="lnkLogout_Click" /> | <a href="../users/change_pass.aspx">Change password</a>
        </div>
        </div>
        
     <div id="nav">
      <div style="margin-bottom:20px;width:360px;float:left;">
              <ul class="breadcrumb">
        <li>
            <a href="index.aspx" title="Home">
         
                 <img src="../images/home.png" width="24" height="23" border="0" align="left" style="margin-top:2px;" class="home" />
      
            </a>
              
            </li>
            <li>
            <a href="index.aspx"   title="homepage">
                Trang chủ
                </a>
            </li>
        <li>
            
               Tổng hợp danh sách nghỉ phép
            
       </li>
       
     </ul>
     </div>

        </div>

    <br /><br />
    <div class="main_content2">
       <div style="margin-top:-8px;">
             <img src="../images/thongtin_nghiphep.png" width="900" height="77" />
           </div>
           <br /><br />
            <div id="clear"></div>
           <div style="width:880px;height:auto;float:left;padding-left:10px;">
               <dx:ASPxGridView ID="gdNghiPhep" runat="server" AutoGenerateColumns="False" 
                   Width="880px"
                   KeyFieldName="nghiphepid" >
                   <SettingsPager AlwaysShowPager="True">
                   </SettingsPager>
                   <Columns>
                       
                        <dx:GridViewDataTextColumn Caption="ID" VisibleIndex="0" FieldName="nghiphepid" 
                            Visible="false">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Phòng ban" VisibleIndex="1" 
                           Width="160px" Visible="false">
                            <CellStyle HorizontalAlign="Left">
                            </CellStyle>
                       </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Họ tên" VisibleIndex="2" 
                          Width="180px">
                              <DataItemTemplate>
                                <asp:HyperLink ID="l" runat="server" 
                                NavigateUrl='<%#"details_nghiphep.aspx?id="+Eval("email") %>' Text='<%#Eval("fullname")%>'
                                
                                   Target="_blank" ></asp:HyperLink>
                            </DataItemTemplate>
                           
                            <CellStyle HorizontalAlign="Left">
                            </CellStyle>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Email" VisibleIndex="3" FieldName="email" 
                           Width="200px">
                            <CellStyle HorizontalAlign="Left">
                            </CellStyle>
                        </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Phép năm (ngày)" VisibleIndex="4" 
                       FieldName="phepnam" Width="120px">
                           
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Phép đặc biệt (ngày)" VisibleIndex="5"
                       FieldName="phepdacbiet" Width="140px">
                           
                       </dx:GridViewDataTextColumn>
                       <dx:GridViewDataTextColumn Caption="Nghỉ ốm (ngày)" VisibleIndex="6" FieldName="nghiom">
                        
                       </dx:GridViewDataTextColumn>
                       
                       <dx:GridViewDataTextColumn Caption="Nghỉ không hưởng lương (ngày)" 
                            VisibleIndex="6" FieldName="nghikhonghuongluong" Width="210px">
                        
                       </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn Caption="Total" VisibleIndex="7"
                        FieldName="total" Width="80px">
                        
                        </dx:GridViewDataTextColumn>
                       
                       
                   </Columns>
                    
                   <Settings ShowHorizontalScrollBar="True" />
                    
               </dx:ASPxGridView>   
           </div>
        <asp:Panel ID="panelEdit" runat="server">    
            <ajaxtoolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </ajaxtoolkit:ToolkitScriptManager>
         <br />
            <table style="width: 500px; background-color: #ffffdd;filter: alpha(opacity=0.9);opacity: 0.9;" >
            <tr>
                <td>
                
                    &nbsp; </td>
            
            </tr>
         </table>
        </asp:Panel>
        
         <asp:LinkButton ID="lnkFake" runat="server"></asp:LinkButton>
        <ajaxtoolkit:modalpopupextender  ID="popupEdit" runat="server"
                     PopupControlID="panelEdit" TargetControlID="lnkFake" />
       
    
     </div>
     
</div>     
     </form>
</body>
</html>
